package Code.ParametricMethod;

public class MethodDemo1 {
    public static void main(String[] args) {

        getSum(10,30);//实参
    }
    public static void getSum(int num1,int num2){//形参
        int result = num1 + num2;
        System.out.println(result);
    }
}
